export const state = {
    menu_Arr: [],
    role_Arr: [],
    manage_Arr: [],
    user_info: {},
}

export const getters = {
    menu_Arr(state) {
        return state.menu_Arr
    },
    role_Arr(state) {
        return state.role_Arr
    },
    manage_Arr(state) {
        return state.manage_Arr
    },
    user_info(state) {
        return state.user_info
    },

}

export const mutations = {
    set_menuArr(state, data) {
        state.menu_Arr = data;
    },
    set_roleArr(state, data) {
        state.role_Arr = data
    },
    set_manageArr(state, data) {
        state.manage_Arr = data
    },
    set_userInfo(state, data) {
        state.user_info = data
    },

}